#返回函数
def method1(x):
    def methodtest(y):
        print("-----------",x,y)
        return 4
    return methodtest
a=method1('tom')
r=a('lily')
print(r)

print(method1('tom1')('lily1'))